<script setup lang="ts">

withDefaults(defineProps<{
  showTitle: boolean
}>(), {
  showTitle: false
})
</script>
<template>
  <div>
    <h1 v-if="showTitle">Jvyou-Mybatis</h1>
    <img src="../public/logo.png" alt="">
  </div>
</template>
<style scoped>
div {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

img {
  width: 40%;
}
</style>
